<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>造价信息修改</title>
<style type="text/css">
.insert {
	float:left;
	width: 800px;
	height:600px;
}
.tablestyle { font-size:10px; }
.preview{
	float:left;
}
</style>
</head>

<body>
<div class="insert"> 
<!-- #include virtual="/data/connection.asp" -->
  <%
set rs=Server.CreateObject("ADODB.Recordset")
rs.open "SELECT postID,contime,condepart,contype,conname FROM post",conn
%>
  <table border="1" class="tablestyle">
    <tr>
		<%
        for each x in rs.Fields
        response.write("<th>" & x.name & "</th>")
        next
        %>
        <th> 删除按钮</th>
    </tr>
    <% do until rs.EOF %>
    <tr>
      <form method="post" action="delete_done.asp" target="review" >
        <%
		for each x in rs.Fields
		if x.name ="postID" then%>
        <td><%=x.value%>
        <input type="hidden" name="postID" id="postID" value="<%=x.value%>"></td>
        <%else%>
        <td><%Response.Write(x.value)%></td>
        <%end if
		next
		%>        
		<td><input type="submit" value="删除此项"></td>
      </form>
      <%rs.MoveNext%>
    </tr>
    <%
loop
conn.close
%>
  </table>
</div>
<div class="preview"><iframe id="review" name="review" src=""></iframe></div>
</body>
</html>